package org.mall.modules.seller.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 商户/店员
 * @Author: jeecg-boot
 * @Date:   2019-10-23
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sp_seller对象", description="商户/店员")
public class Seller {
	/**id*/
    @ApiModelProperty(value = "id")
	@TableId(type = IdType.UUID)
	private String id;
	/**昵称*/
	@ApiModelProperty(value = "nickName")
	private String  nickName;

	/**username 商户/店员----名字*/
	@ApiModelProperty(value = "商户/店员----名字")
	private String username;
	/**商户/店员----手机号*/
    @ApiModelProperty(value = "商户/店员----手机号")
	private String mobile;
	/**0:商户，1:店员*/
    @ApiModelProperty(value = "0:商户，1:店员")
	private Integer type;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
	/**weixinOpenId*/
    @ApiModelProperty(value = "weixinOpenId")
	private String weixinOpenId;
	/**性别 0：男。1：女*/
    @ApiModelProperty(value = "性别 0：男。1：女")
	private Integer sex;
	/**是否删除0：未删除，1：已删除*/
    @ApiModelProperty(value = "是否删除0：未删除，1：已删除")
	private Integer isDelete;
	/**实名认证*/
    @ApiModelProperty(value = "身份证号")
	private String idCard;
	/**是否冻结 0：未冻结，1：已冻结*/
    @ApiModelProperty(value = "是否冻结 0：未冻结，1：已冻结")
	private Integer state;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**图片访问路径*/
	@ApiModelProperty(value = "图片访问路径")
	private String  imageUri;


	@TableField(exist = false)

	private String password;
}
